<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<?php include(DDROOTPATH.'/cache/title/'.$pagetag.'_title.php');?>
<LINK rel=stylesheet type=text/css href="template/<?=MOBAN?>/css/mall.css" />
<LINK rel=stylesheet type=text/css href="template/<?=MOBAN?>/css/common.css" />
<LINK rel=stylesheet type=text/css href="css/colorbox.css" />
<script type="text/javascript" src="template/<?=MOBAN?>/js/jquery-1.3.2.min.js"></script>
<SCRIPT type="text/javascript" src="template/<?=MOBAN?>/js/function.js"></SCRIPT>
<script language="javascript">
$.ajaxSetup ({
    cache: false //关闭AJAX相应的缓存
});
$(function(){
	$('.x_s_6 img').each(function(){
        var theImage = new Image(); 
        theImage.src = $(this).attr("src");
        if(theImage.width>640){
			if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){ 
                $(this).css('width','640px');
            }
			else{
			    $(this).css('width','640');
			}
		} 
	});
});
</script>
</head>

<body>
<?php
include("header.tpl.php");
?>
<?php
include("nav.tpl.php");
?>
<div id="weizhi">当前位置：<a href="index.php">首页</a> > <a href="coupons.php">促销优惠</a> > <?=$cuxiao['name']?></div>
<div id="main">
	<div id="left">
		<div class="malljj">
			<div class="malllogo"><span style="writing-mode: tb-rl;vertical-align: middle; height:150px"><img src="<?=$mall['logo']?>" width="140px" /></span></div>
			<div class="malldetail">
				<ul>
					<li style="height:25px; line-height:25px; font-size:14px; font-weight:bold; width:500px;"><div style="float:left"><?=$mall['name']?> (<?=$mall['url']?>)</div> <?php if($mall['renzheng']=='on'){?> <div style="float:left; margin-left:5px; padding-top:6px"><img alt="网站认证" src="template/<?=MOBAN?>/images/renzheng.gif" /></div><?php }?></li>
					<li style="height:25px; line-height:25px; width:500px; overflow:hidden;"><?=$mall['des']?></li>
					<li style="border-bottom:1px dashed #ddd; width:500px;"></li>
					<li style=" height:10px; width:500px;"></li>
					<li style="height:25px; line-height:25px; width:500px;">最高返：<font style="color:#f30; font-size:20px;  font-weight:bold; font-family:Georgia,"Times New Roman",Times,serif"><?=$mall['fan']?></font>&nbsp;&nbsp;&nbsp;</li>
                    <li style="height:25px; line-height:25px; width:500px;"><div style="float:left">满意度：</div><div title="满意度<?=(round($fen/5,2)*100).'%'?>" style="background:url(template/<?=MOBAN?>/images/5bx.gif) 0px 0px no-repeat; width:128px; height:24px; float:left"><div style="background:url(template/<?=MOBAN?>/images/5hx.gif) 0px 0px; width:<?=$x?>px; height:23px;"></div></div><div style="float:left">（<?=(round($fen/5,2)*100).'%'?>）</div></li>
					<li style="height:25px; line-height:25px; width:500px;">货到付款：<?=$mall['hdfk']?> 正规发票：<?=$mall['zgfp']?> 邮费政策：<?=$mall['yfzc']?></li>
					<li style=" height:25px; width:500px; text-align:right"><a href="gotomall.php?act=cuxiao&id=<?=$cuxiao['id']?>" target="_blank"><img src="template/default/images/gomall.gif" /></a></li>
				</ul>
			</div>
		</div>
		<div class="jsbar">
          <div class="current"><a>促销优惠</a></div>
        </div>
<div class="shang_3" style=" width:715px; margin-top:5px">
          <div class="x_s">
            <div class="x_s_1">
              <table width="390" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="67" height="25"class="color_4"><strong>活动名称：</strong></td>
                  <td width="323" height="25" class="color_4"><?=$cuxiao['name']?></td>
                </tr>
                <tr>
                  <td height="25"class="color_4"><strong>活动商家：</strong></td>
                  <td height="25"><a class="color_4"><?=$cuxiao['mallname']?></a></td>
                </tr>
                <tr>
                  <td height="25" class="color_4"><strong>有效日期：</strong></td>
                  <td height="25" class="color_4"><?=$cuxiao['stime']?> -- <?=$cuxiao['etime']?></td>
                </tr>
              </table>
            </div>
            <div class="x_s_2"></div>
          <div class="clear"></div>
          <div class="x_s_5 color_4"><strong>活动信息：</strong></div>
          <div class="x_s_6">
          	<?=str_replace('../../upload','upload',$cuxiao['content'])?>
		 </div>
          <div class="clear"></div>
          
		  </div>
          </div>
         
          <div style="height:10px">&nbsp;</div>
	</div>
	
	<div id="right">
		<div id="ad4"><?=AD(4)?></div>
	</div>
	<?php include("footer.tpl.php");?>
</div>
</body>
</html>
